package com.yanxu.strategy;

/**
 * @author 折戟沉沙铁未销
 * @version V1.0
 * @date 2025/4/15-2025
 * @Description: 这里用一句话描述这个类的作用
 */
public class PromotionActivity {

    private PromotionStrategy promotionStrategy;
    private String activityName;

    public PromotionActivity(PromotionStrategy promotionStrategy, String activityName) {
        this.promotionStrategy = promotionStrategy;
        this.activityName = activityName;
    }

    public void executePromotionStrategy(){
        promotionStrategy.doPromotion();
    }
}